//
//  ViewController.m
//  VVProjectHelper
//
//  Created by admin on 2022/4/29.
//

#import "ViewController.h"
#import "TypeSettingViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom];
    btn.frame = CGRectMake(100, 100, 100, 100);
    [btn setTitle:@"开始" forState:UIControlStateNormal];
    btn.backgroundColor = UIColor.redColor;
    [btn addTarget:self action:@selector(tap:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:btn];
}
- (void)tap:(id)sender {
    TypeSettingViewController *ts = [TypeSettingViewController new];
    
    [self presentViewController:ts animated:YES completion:nil];
}

@end
